package com.jueban.Vo;

import com.jueban.model.Department;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class DepartmentVo
{

    private Integer id;

    private String departmentName;

    public DepartmentVo(Department department)
    {
        BeanUtils.copyProperties(department, this);
    }

}
